<!-- $.update_tab2   Author:liuricheng   Time:2013-10-01 -->

<div class="h_400">
  	<table  id="mytab"  border="1" class="t1" width="100%">
  		<tr>
			<th>
				{$lang.main_picture}
			</th>
			<td>				
				<div class="dp l_fl">
					<img id="original_img" title="{$course.original_img}" style="width:120px; height:66px;" src="__PUBLIC__/upload/images/{$course.original_img}" />
					
					</br>
					</br>
					</br>
					<input type="file" name="original_img" value=""/>
				</div>				
			</td>
		</tr>
		<!--
		<tr>
			<th>
				{$lang.vice_picture}
			</th>
			<td>
				<div class="dp l_fl">
					<img id="other_img" title="{$course.other_img}" style="width:120px; height:66px;" src="__PUBLIC__/upload/images/{$course.other_img}"/>
					
					</br>
					</br>
					</br>
					<input type="file" name="other_img" value=""/>
				</div>				
			</td>
		</tr>		
		-->		
  	</table>
</div>

<script>	
	//初始化照片
	function initImg(id){
		if(typeof id == 'undefined') return;
		var imgObj       =   document.getElementById(id);
		if(imgObj.getAttribute('title').length == 0) imgObj.style.display = 'none';
		else 
			imgObj.style.display = 'block';
	}	
	initImg('original_img');
	initImg('other_img');
	
</script>







